package com.ruoyi.door.controller.app.dept;

import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.door.controller.admin.dept.vo.DoorDeptPriceCreateReqVO;
import com.ruoyi.door.service.DoorDeptPriceService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 镇街价格Controller
 * 
 * @author ruoyi
 * @date 2025-06-27
 */
@RestController
@RequestMapping("/app-api/door/dept/price")
@Api(value = "APP 档位-规则", tags = "APP 档位-规则")

public class AppDoorDeptPriceController extends BaseController
{
    @Autowired
    private DoorDeptPriceService doorDeptPriceService;



    /**
     * 获取镇街价格详细信息
     */
    @GetMapping(value = "/get")
    @Anonymous
    public AjaxResult getInfo(@ApiParam("部门") Long deptId)
    {
        return success(doorDeptPriceService.selectDoorDeptPriceById(deptId));
    }

}
